package com.geekweb.servlet;

import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;

import com.geek.log4jcontrol.remote.Log4jControlRemote;
import com.geekweb.common.RmiServiceHolder;
import com.geekweb.common.WebConfigConstants;

/**
 * Servlet implementation class Log4jControl
 */
public abstract class BaseServlet extends HttpServlet {
	private static final long serialVersionUID = 1L;
	protected String operatePwd;
	protected Log4jControlRemote oLog4jControlRemote = (Log4jControlRemote) RmiServiceHolder
			.getRemoteService(WebConfigConstants.RMISERVICE_URL);

	/**
	 * @see HttpServlet#HttpServlet()
	 */
	public BaseServlet() {
		super();
	}

	protected void initBaseParam(HttpServletRequest request) {
		operatePwd = request.getParameter("operatepwd");
	}

}
